#ifndef HORSE_H
#define HORSE_H

#include "Pieces.h"

class Horse : public Piece
{
public:
    Horse(PieceType type, int row, int col, bool isRed);
    ~Horse() = default;

    // 实现马的移动规则
    bool is_valid_move(int to_row, int to_col, PieceType board[9][10]) override;

private:
    bool isHorseLegBlocked;
};

#endif
